/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dependente.bd;

import conexao.ConexaoSingleton;
import conexao.DAOException;
import javax.persistence.EntityManager;


public class DependenteDAO {

    private EntityManager conn;

    public DependenteDAO() throws DAOException{
        try{
            conn = ConexaoSingleton.getConexao();
        }catch (Exception ex){
            throw new DAOException("Sem conexão com a Base de Dados", ex);
        }
    }

}
